﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Model;

namespace WMS.Service.IService
{
    public interface IBaseService<TEntity> where TEntity : class, IBaseModel
    {
        Task<TEntity> GetAsync(int id);
        Task<List<TEntity>> QueryAsync();
    }
}
